package com.yanqu.road.entity.activity.daomu;

import com.yanqu.road.utils.property.Property;

public class DaoMuReward {

    /**
     * 通用道具奖励
     */
    private Property reward;

    /**
     * 活动特殊道具
     */
    private Property activityReward;

    public Property getReward() {
        return reward;
    }

    public void setReward(Property reward) {
        this.reward = reward;
    }

    public Property getActivityReward() {
        return activityReward;
    }

    public void setActivityReward(Property activityReward) {
        this.activityReward = activityReward;
    }

    public void addProperty(Property reward) {
        if(this.reward == null) {
            this.reward = reward;
        } else {
            this.reward.addProperty(reward);
        }
    }

    public void addActivityProperty(Property activityReward) {
        if(this.activityReward == null) {
            this.activityReward = activityReward;
        } else {
            this.activityReward.addProperty(activityReward);
        }
    }
}
